package practice02;

/**
 * @author Administrator
 * @version V1.0
 * @ProjectName:IntelliJ IDEA
 * @PackageName: practice02
 * @ClassName: Test
 * @Description: TODO(这里用一句话描述这个类的作用)
 * @date 2019/12/11 19:06
 * @Copyright 大牛版板所有
 */
public class Test {
    public static void main(String[] args) {
        Rabbit rabbit = new Rabbit("美人","黑色","哺乳类");
        rabbit.cry();
        rabbit.eat();

        System.out.println("\n=====================================================\n");

        Frog frog = new Frog("大兵","绿色","非哺乳类");
        frog.cry();
        frog.eat();
        frog.swimming();
    }
}
